import request from '@/utils/request'

// 查询【供货单位】列表
export function listUpplier(query) {
  return request({
    url: '/database/upplier/list',
    method: 'get',
    params: query
  })
}


// 新增【供货单位】
export function addUpplier(data) {
  return request({
    url: '/database/upplier',
    method: 'post',
    data: data
  })
}


// 删除【供货单位】
export function delUpplier(supplierid) {
  return request({
    url: '/database/upplier/' + supplierid,
    method: 'delete'
  })
}
